import QtQuick
import QtQuick.Controls.Fusion

ToolTip {
    id: control
    delay: 400
    palette: parent.palette
    contentItem: Text {
        text: control.text
        font: control.font
        wrapMode: Text.Wrap
        color: control.palette.toolTipText
    }

    background: Rectangle {
        color: control.palette.toolTipBase
        Rectangle {
            z: -1
            x: 1
            y: 1
            width: parent.width
            height: parent.height
            color: control.palette.shadow
            opacity: 0.5
        }
    }
}
